package seqlist.queue.impl;

import seqlist.queue.Queue;

/**
 * @author yuisama
 * @date 2022/05/10 21:37
 **/
public class LoopQueueTest {
    public static void main(String[] args) {
        Queue<Integer> queue = new LoopQueue(4);
        queue.offer(1);
        queue.offer(3);
        queue.offer(5);
        queue.offer(7);
        queue.poll();
        queue.poll();
        queue.poll();
        queue.poll();
        System.out.println(queue);
        queue.poll();
    }
}